package EnterpriseAlgorithm.LinkedList.Code.ListCode;

//双链表结构
public class DoubleNode {
    public int val;

    public DoubleNode next, prev;

    public DoubleNode() {
    }

    public DoubleNode(int val) {
        this.val = val;
    }

    public DoubleNode(int val, DoubleNode prev, DoubleNode next) {
        this.val = val;
        this.prev = prev;
        this.next = next;
    }
}

